[NEXUS-6790] Open up DigersterUtils to any algorithm
[NEXUS-6790] Rewrite primary.xml after merge