Removed CLI code, added -pthread line to Makefile to compile