added hook for registering new inputs
fixed up input system