Added channel. Two functions. Not tested.
New branch. Added server