Create factory_method.cc