Category implemented.

list categories works. for save category and rmeove category is still
work left.