documentation and viewer

dsd and improvements to the viewer