move struct channel to channel.h