Upgrade to express.js 4, expose router and remote as library.