added some new stuff for extension building, also namespaced everything for node or non-node application