Remove redundant imports from Main
Rename KeyMap to KeyBindings
Moved type definitions into its own module and added a keyboard definition possiblity