Get History Class functionality added

GetHistory class now works
Helper functions added to print metadata.
Branching functionality is integrated.