why public? could this class be controlled with (maybe extended with resume() and restart() ) StageResourceInterface.java?