Added basic implementation of channels