Cleaned up code with new Analyzer class, started the instrumentation of functions taken on by pthreads.