Alpha implementation of input manager
Finalized the InputManager and InputState classes.