Bit of refactor
Adds db config example