Set up config file for db connection