Source Code for the Factory Designe