Updated with switches to toggle some side-effect operations.

Refactored and started adding nuspec dependency additions.