Extract category controller and service