refactor the channel manager