Moving saved data to model class.