Added points calculation, rating calculation.