How to write a better generator using Handlebars

Made the generator Handlebars driven