Updated LocalHistory to use BranchHistory class

All of these classes are rather basic; we will probably want to make
them more flexible later