Class performing recommendations on the database. Poor comments but code quite readable