mid refactor

Created by  Bowei Liu  on December 20, 2020
OPUQ6NVYM2BN4H2FENH6EBGVU25XQBY2GRRZANPZEBEACZMDOGEAC
Dependencies
In channels
alice-test
main
Change contents