Updating Delegate definition so that it resides in the proper header file and renaming, adding support for NSUserDefaults, and updating delegate method names to better adhere to the objective-c conventions.