adds setEntries and saveToDefaults methods and NSUserDefaults