moved xsd loading