Mapcolor class

Fixes #7.