refactor(all): Lots of changes...

* Updating setup routine. Inlined core library files.
* Moving to service (singleton) based lib rather than static methods
* Use mustache templating to get namespacing other vars in there
fix: Use svc prefix rather than lib