[] Introduce infrastructure of the thread