Added a model for saving cases