added check in database writer to remove duplicate entries for cars (duplicate data downloaded in csv files)