Added a new input manager

Basically works a lot better now