Created and implemented a camera class