Big changes. Altered to work as an express router

Updated the modules to work as epress / restify middleware