added broadcast from the model service and much better error handling.