mode config part 1 -- miss update comments, readme && test