Create module registry.