finish InputHandler in Mangers.py