add timer thread class