Added referral application

Added referral to installed apps
Added referral html template