Refactor pipeline details controller to use 2 services

Create boxservice to separate concerns

Refactored logic that pulls data related to pipelines into
PipelineService

Getting rid of unneccessary factories