Initial commit of a pipeline.py written by chfoo.