Working code - making calipso a module.
Stable set of changes to make calipso a module includedfrom appModule as 'require('calipso')'.