Updated constructor in Appointment class and updated Base class

Updated constructor in Appointment class and updated Base class