Added MapGen utility