Made Main.input public and added methods to retrieve key and mouse
states