moved db config to own file