func (e *EventLog) Add(ev *Event) {
	ev.ID = []byte(e.currentindex())
	ev.timestamp = time.Now()
	(*e) = append((*e), ev)
}
func (e *EventLog) Add(ev *Event) {
	ev.ID = []byte(e.currentindex())
	ev.timestamp = time.Now()
	(*e) = append((*e), ev)
}
// Add event to eventlog