Added DateTime struct
Minor improvements
Added use of lock
Merge pull request #3 from EmilWestergren/master

Added DateTime struct, improved Ref counter Synchronized and Event