moved cps.hs into cps folder