Add save method to Constant.cs