intermediate commit
debugging commit
added some testing stuff
It works! mostly. Multiple peers is still broken - probably an ipallocator issue.