rename viewer to calib - this is the calibration tool
refactor code for the rename