Moving thread name to the thread class

because that's better organisation