Changed getChannel method so that it creates the channel if it does not already exist.