A simple pipeline processing implementation similiar to rack middleware