Included database persist and restore capability.  This
Merge pull request #1 from johnmannpaul/master

Included database persist and restore capability.