api changes: game states
added files missing in previous commit
some api changes
added a game menu