extract categoryService to it's own file