Add Thread Class, for multi-threading.