more work on generating model code
bug
consistency
file headers
library c generation practically complete
finalized file generation
got rid of garbage