modify 'matches' model and add ranking.py