fixes #3
open DBModel + added delete of preferences in reset()
Merge remote-tracking branch 'origin/master'