Moved thread control functionality into a separate folder & added threading mode...