Added Threading namespace and classes LockedObject and LockedValue that wrap protected resources using ReaderWriterLockSlim.