Extract Camera method into CameraHardware Class