add entity class loader to xml