Implemented apply-pipeline to load and execute pipeline definitions