Made a camera class for accessing webcam.