Added XML writer and files to simplify building with VS.