Create threadscpp