Create Cg.cpp