a little reorganizing of the file
get current DB config