Added the skeleton of the main loop in SceneGenerator