save model on exit
added sharedModel as a class func on Model