adapted setUpDB
Merge branch 'master' of https://github.com/lukolb/gfemessenger