Promote codegen module to be a package