Merge pull request #1 from Rutherther/feat/pipeline Implement pipeline
docs: better document the stage code, organize it better
feat: implement pipeline