initial version of cps
added a CPS transform mode and example