added AppState

TODO: resolve header problems
integrated menu
merge application and hud
merge application and hud p2

lesson of the day: don't merge if you don't have to. ._.

cleaned up game.h