Added the front-end for working with pipes.

Sorry about the names and the mess of the commits.