Group refactor - leaderboard functionality and group model refactoring