Contains code for camera image capture