Deleted unnecessary stuff such as threading classes and headers.