finish implementation of Appointment.all class method