Cleaned up rst files, started writing docs for pipeline.