Added abstact class for events, as well as concrete implementations
Duration and Atomic.