refactored chan maker using interface

compiled but stopping udp_mcast doesn’t work yet
completed refactoring interface
Merge branch 'refactored'