Create threadHandler.cpp