Model generator for sailsjs and backbone