rebuilt map generator to be clean and scalable, old way not removed yet