stubs and typedefs for action mapping
implementation of action mapping and acting upon them on keypress
adding _bindinputs stub
removing test hack, moved it into proper event listeners