Introduced the state machine, including the new player state for when a user hasn't got any buildings yet