Simplified the camera class