Setting up ProcessorFactory