Moved input, and tick methods to the new loop

those run with a fps of 60, while the game tick will run at 20 fps