Successfully encapsulated common methods.

Next up: Create History Database