made Channel and ChannelInfo type classes