define ChannelManager and ChannelSceduler