How to create an 'Appointment' service