Inputmanager

Updated for mouse input