Set up HistoryObject class