moved ApiPipeline to API component