Port to sails 0.10 and add working client