added missing licence header for ModuleFactory