created contact and appointment classes