Merged all the game logic into game logic

Moved map and spawnmap into gamelogic