Refactored Project2 Cube into SceneObject