pull Topology and Node core structures out into core.py