added the hump.gamestate library
starting the gamestate factoring
added controls.lua and menu.lua
started the real refactoring work
forgot these changes
going forward
still working
starting to understand how this works
added missing file, cost me a bike trip
continuing work
registerEvents caused anoying behavior, removed it
gamestates are working, ready for merge !
Merge pull request #9 from hugodes/gamestates

Gamestates