Split out game state to separate module