referral resource and logic introduced

* added underscore.inflection.js
copy tweaks