re-ordered source files to compile
bug fix: player can now exit from this state
added menu state prototype