Update RL from qiu_tie

version 0.2:lot of changes, more smoothly