Add map module with basic tests