Add a rough implementation of distributed map, which is certainly broken.