added nscoder persistant storage instead of sqlite3
replaced sqlite3 persistant storage with NSCoder