- updated application to use a shared model between ui and server.