Creating appointment class