Move CC API stubs into Cfoundry for common reuse.

[finishes #44761601]