added src/common/tmpl files
.gitignore is now working
refactored invoice.js
added x-xsrf
started etching out config.json, pct, cost, plans