Refactor ExtendThread class