Refactoring of SceneView and Model.