read db connect from config.json

don't forget to create config.json from conig-example.json
Fixes #20