move samples viewer to separate file; note whether or not server is available