Started implementation of InputManager