added basic index and show page
appointmnet js object