One more implementation of "Pipes and filters" pattern