Put the database logging back
Merge pull request #34 from aarongreenwald/persistence-mechanism

Put the database logging back