don't add the same comment twice to DB

for this to work I changed the threads to only keep the comment ids
and saved the comments to a separate collection