Merge pull request #2 from EmilWestergren/master

Fixed cover usage and merge function
Fixed tabs.
Added ReferenceCounter and Synchronized.
Fixed most of Synchronized and added Event.
Added Event and removed trouble from lock.
Added DateTime struct