Refactored instance methods in 2 model classes

Refactored the instance methods in HALUserDefaults and
HALParseConnection and made them class methods.