Remade to StateBasedGame, added a main menu
Small codefixes
Added pause menu
Added analysis model
Revert "Remade to StateBasedGame, added a main menu"

This reverts commit 84ea6f519c2c52ebb662a89e3cc874d535a99b29.
Merge remote-tracking branch 'origin/Oskar'