implemented shared data structure for world data. Cleaned up game loop a bit