Added a LocalHistory class