Implemented Material-management in the SceneManager. Fixed bugs with light and camera management in the sceneManager.