Move codegen from yang extention to components/common