added .handlebars extension
added support for generating roles. fixes #2