Moving everything to sailsjs