progress on map module so far (doesn't work quite right)
took out avl-flatten-keys