small fixes
refactor network lookups
refactor NetworkDB -> NetworkGraph; store only internal ports
allow direct access to TopologyGraph.switches