added some enum generation
missing from last commit
some parameter translation
Merge pull request #4 from michaelc37/master

enumeration generation