Started integrating channel API

probs broken