camera class added and implemented