Refactor CameraSystem as a class