HF RL Explorer

Refactor the worker code for easier communication.

Refactor the worker code for easier communication.: a task in lifesci-single-cell-spatial-swe-envs-nocap (Harbor dataset). Title: Refactor the worker code for easier communication.

The task

**Title:** Refactor the worker code for easier communication.

Part of scalingX/lifesci-single-cell-spatial-swe-envs-nocap.