Node.js implementation of a Server with RESTful API