initial implementation of REST using Sails.js