implement some functions.

- add a attribute 'category on note.
- add a attribute 'tags on note.
- display category and tags.
- set face of tags.
- add command to edit title.
- add command to edit category.
- add command to edit tags.
- add comments to the interactive functions.
- abstract ADT of note.