Refactor

This pulls out a bunch of the stuff I had done when adding in VCS support.

The core of this is abstracting logging and command running so that they're more flexible. This should help with the push towards "report more logging"
this stuff is no longer used, but I figured it didn't hurt to maintain the structure