Created GameController class to handle all inputs and controls.