add Edit command with NoteBase class
add updatePrivateNote method
add updateUser2Note & getNoteRecords methods
move getUserPublicKey into NoteBase class
use NoteBase class and move logic into it (to reuse it in edit command)