add Category service
add category api and fix some problem