Interim commit - I'm part way through refactoring all the networking stuff.
Posts are not yet working.
new nodes class + basic tests