Break up some large functions and remove some duplicate code.
Finish first round of changes to get coverage planning working for minimal node set.
Expand api so that a minimization target can be specified.
Some minor reshuffling.
More coverage plan refactors
Clean up last changes so coverage plan module builds
Remove unused binding of primaries field