refactor: removed commented code changed: server data file name changed: pgp is required in remote mode refactor: added function to get or create note