Analysis and Saving done on a separate thread