sql md loader object converted to trait, sql reading extracted (no hardcoded file and resource paths anymore)