Simple RESTfull API implemented in node.js