Simple SceneManager class
a little bit of refactoring and some documentation done