Add first tests, move around files, and compromise to Jin's ranking logic for the leaderboard