moved db settings into conf file