update of the model loading and outputing exception information in the main class