use object to store keybindings, fixes #5