Add connection/channel management

Needs a bit of styling.

It would be good to get some feedback on what i have done so far.