move namespace configurator to factory