Wrapped the map into a class.

It's little less efficient but allows inheritance. The raw implementation
is still available through mk_map.