Modified Generator code. Added code to pull out all the constants from all the modules.