Rewrote the Client class and renamed it as CameraClient