added appserv model to fix appointments controller issues