How to create an 'Event' service