Implement NSUserDefaults

Scratch that - this can go away. But just FYI, no need for NSNumber here at all. NSNumber is for when you need to wrap a numeric value as an object, which does not apply here.