updated factory to reflect new config options
factory is now implementing the correct dynamic class methods