HistoryView refactoring (added methods to RawDataController)