move map generator to core