first working set of code, imager supports enumerate, default instnce, showpreview, hidePreview and capture