A framework to implement recommender system algorithms