move dbConfig to db/