ThreadModel uniqueID changed from Integer to UUID
added generateUniqueID