implemented points model; added stats controller and stats.ranking view