updates classes to use NSNumber instead of NSInteger for properties