Threads added. Tests added. String analysis added