initial building of appointment scheduler