Implement NSUserDefaults

These can be imported in the source file rather than the header. Nothing else needs the import.