Making db settings configurable