initial version of UCM data structure and inference routines