Add history view functionality, along with HistoryEvent model.