add input manager
Add input manager