Added scenemanager and base scene.

integrated inside of the eventloop