Moved persistence service so that make use of it in a consumer for reading the operations pipeline.