Pipeline refactor

Refactor to create 2 services that will separate concerns. PipelineService and BoxService