remove non-default platform makefiles
Makefile rewritten to support multiple sources
refactor key binding code into a separate file