added a function to read settings from cfg file
accounted for new conDB() parameters
accounted for new conDB() parameters