moved input for camera into separate input class and moved the code for the camera movements into their own methods.