decouple readers from processing flows