[UPDATE] added templates and generator.