Add XHImageViewer class