templates using doT.js
fixed wifi.config generation