Refactor workers to make executable process and rake task generic to worker type.