referral resource and logic introduced

* added underscore.inflection.js