acal: add a notify, dump events and add event function