create input manager