Update tools to use new pipeline library, start splitting shared code out into separate repository