The mod kit contains a MAP_ModMap plugin. Duplicate this mod and use it as base line for your map mod.

This mod already has all baseline features setup and is ready for you to extend it.