Renamed some functions in the State module.
Renamed the function and workflow builder types in the Cps namespace.
Added functions to the StateCont and ChoiceCont modules.