move db connection variables to file