refactor(library/data/prod/wf): remove duplication, and import wf's for sigma and prod