Added states for main game and building.Doesn't work findAvailableRoads function.