add parse and nsuserdefaults

#1