Added Recommender Class template for handling heuristics.