Reorganized code a bit more.  Updated leading documentaion in ccm.c file