renamed Asserts to lowercase
Moved event, mutex, thread clasess into threading module. Prepared for crossplatworm code.
Modified threading.