added a CameraController (capture) class