Add image refactor and vhd writing

What it says.