Implemented FactoryRegistry
AbstractPdfGenerator now takes a FactoryRegistry instead of a specific factory