added enThread class wrapper for Thread