Wrap the vhd coalesce functionality

Did some refactoring as well to ease the creation of the util wrappers.