Working on Xdr classes and unit tests.
Abandoned read/write for long ints. Everything else seems to work.