rename class
look for common packages, not just common substr
more explicit toString
group edges by type
add ENCLOSED_BY relationship
refactoring

This will let us change how the edges are represented internally, to a
more standard format that's also more convenient for querying.
rename relationships
generalize anon classes, add enums
private classes
change internal repr for edges
query vertices
"invert" how edges are represented