updated modelhelper, added referral fragment etc, mostly in place and waiting for input from Lisa before finishing it off