created appointment and dateTime class