modified classes to use SceneManager