Cleanup and use of enums over raw strings.
Removing unused class Generator.
If a product doesn't explicitly name itself, the name is taken from the instance variable given in the buildfile.