A Restful Collection Manager in node.js