refactor reprocess methods into reprocess controller and service.