Add multi-host support
    retrieve domain id from VSM
    a few bug fixes
    add comments