Write server-side logic to save threads to MongoDB when they are selected to analysis, and then to pass the thread off to be analyzed