moved code to router.js
Merge branch 'master' of https://github.com/algosystech/collosys