Add a way to build easily a chain of treatment using some java 8 facilities, especially the lambda.