This class should be in the CameraView class