Added DateTime struct, improved Ref counter Synchronized and Event