removes pipelines that will exist elsewhere, adds db connection