added category object to a group of a resource
routes refactor
refactor resource route