Extensive refactoring; adding version field to DB.
Renaming doDBStuff to a slightly more descriptive name.
It's string.Formatter that has vformat, not str itself.
Add some unit tests. These use the python-mock framework
Merge pull request #1 from mdsherry/master

Overengineering, plus tests