updated to get DB config from resource file