Refactoring MapGen to generic C# implementation

GameState "global" singleton
Utility namespace
using System.Drawing for mapgen