feature/9

Refactored generators to use the new classes (Generator and NamedGenerator)
These classes allow the global parameter dir, which specify in which directory
to create the generator files