changed std::shared_ptrs to references
made Renderer a SceneObserver