extract symtype methods to separated file.
Rename codegen package
Fix compiler.go