added DB setup abd new definiton to config file.