Added debug messages throughout libraries. Implemented ThreadPool::addThread and ThreadPool::removeThread