Property "type" added
Property "timestamp" changed from long to date object
Event class implemented
Tests added