Change to be backward compatible with old db management.
Rename DbOpenHelper to DBOpenHelper.
Various fixes, #33.