MainFactorySpec