Major rafactoring of rating handling, basically updated all layer (incl DB)