add files
add codegen
build updates
fix various parsing issues
minor cleanup; fix close file handle