connect db and setup config