ready for a proper dhtapi interface, refactored useful stuff in Serialize, almost ready for the hookup!