Implement config for Db connection