Construct the viewer.