isolating pipeline object for each pipeline so it can be easily destroyed and recreated without object references and event doubleing