adds a new class for appointments