tidy camera class