A Modular and Transferable Reinforcement Learning Framework for the Fleet Rebalancing Problem