Pipeline

Cleaning up the pipeline and fixing PEP8.