Made AppointmentFactory Static