Generate FactoryBuilder.

read a IFactory implementation