Chain of responsibility II

Unlike the previous chain of responsibility, this version use the pipeline to chain responsibilities.