implemented the inputManager class. Let's see some movement!