A restful server in node.js