adds input manager.
Creates input manager class.