XsdLibrary rewritten to use the new objTools constructor method.
Rebuilt stuff to use the new objTools construct mechanism.