Finished base implementation of InputManager.