Changes in project structure, and added NSUserDefaults support.