#21: fixing history graph
Refactoring persistence and vis models.
closes #34: restore local modules