Refactored DataTransfer interfaces into /base/ and removed binary Xml, improved Xml I/O to match API for JSON I/O.