move leaderboard logic to statistics ns
schema for matches