new clasrec-main library with SEB and EC modifications