Moved model loading and saving to util.