Wireup modules in node.js