Configurable factory