Ported examples to new Generator definition

  Moved examples to separate module