Add viewing and restoring of old versions

Closes #22