Add new thread class file