Implemented AppointmentController in GUI