Add bash generator

Refactor templates to root subfolder
Refactor test using testHelper.js
Update README.md