First big commit of the mchview program and its accompanying library,