Reorganize project around game states.