Finished CRUD and share events on client. API for query all events and
add an event.