 			}
 		}
 		
-		var expMax:Int {
+		public var expMax: Int {
 			get {
 				return EXP.expAtLevel(level)
 			}
 		}
 		
-		var stamina:Int {
+		var stamina: Int {
 			get {
 				return _stamina
 			}

			}
		}
		
		static func saveBool(value:Bool, forKey: String, toCloud:Bool) -> Bool? {
			var result = Helper.saveBool(value, forKey: forKey)
			if toCloud {
				store.setBool(value, forKey: forKey)


public class Data: NSObject {
	
	public enum UserGroup: Int {
		case A, B, C, D, E, F, G, H
	}
	
	public enum SongLevel: Int {
		case Debut, Regular, Pro, Master
	}
	
	var deviceData: Array<Device> {
		get {
			var _deviceData = Helper.loadObject("DeviceData", fromCloud: notificationEnabled) as? Array<Device>
			if _deviceData == nil {
				_deviceData = Array<Device>()
				_deviceData?.append(Device())
			}
			return _deviceData!
		}
		
		set(deviceData) {
			Helper.saveObject(deviceData, forKey: "DeviceData", toCloud: notificationEnabled)
		}
	}
	
	var notificationEnabled: Bool {
		get {
			var _notificationEnabled: Bool? = Helper.loadBool("NotificationEnabled")
			if _notificationEnabled == nil {
				_notificationEnabled = false
			}
			return _notificationEnabled!
		}
		
		set(notificationEnabled) {
			Helper.saveBool(notificationEnabled, forKey: "NotificationEnabled")
		}
	}
	
	public class Device: NSObject, NSCoding {
		let version: Int = 0
		
		var _level: Int = 1, _exp: Int = 0, _stamina: Int = 0
		
		public var level: Int {
			get {
				return _level
			}
