Defining the user rating from the database

Splitting the lines of csv, and loading the user data and the rating data.

A bit of minor debugging too, and some more bit of tweaking.