delete function

Delete a model and its data