new Directory write to memory and json file

new Directory write to memory and json file
Merge branch 'client' of https://github.com/slixurd/tNotes into client