Add cg-lib as submodule