Ranking table

Database refactor (separation) + user ranking table