Add 'nested' base class, use ABCs.
Vertigo-compliant graph structure, misc cleanup.