Create Singlethread.h