Added a SceneManager to handle transitions between scenes