Added the main, threadsafe, and timing files.

Threadsafe had Mutex and Lock, which time.h has Time and Clock.