move global functions in eval.c to CSCM_Eval.*