added InputThread to CMakeLists