renamed *Templates -> *Generator
more documention
some cleanups (refactoring)