Revert "made codegen a submodule and replace codegen.py with a symblink"

This reverts commit 730911ee127d81e6506abaa1ddf0e3765bddfd57.