Move everything out from public folder.
Build: synchronize data when close and open note panel.