refactor load(schema, location) to load(schema, schemaModule, modelsDir)