doctor's office appointment schedule with classes and database commands