Added Atomic Functions and Threading
Added Threading