camera class in separate file