Added HistoryElement class, list and map of HE containing search history