changes in cps utils to make cps work
changes in cps (mostly opencv) to make it work