sails config and other changes

sails config and other changes