Adding templating funcionallity
[Core] Refactoring Gamification Logic
Referal widget
Merge branch 'fb-ref' into develop