Added Timeline class and further encapsulated Event & DurativeEvent.