create CategoryCommand class and use it