He moved the factory to the root dependency of the project.