Adds Referral functionallity to Magento