'Import and instanciate dynamically the channel.
Given the channel object Mychannel, this should be placed
in module core.channels.mychannel.mychannel.'

def __init__(self, channel_name, session):

    module_name = channel_name.lower()
    try:
        module = __import__(('core.channels.%s.%s' % (module_name, module_name)), fromlist=['*'])
        channel_object = getattr(module, channel_name)
    except:
        raise ChannelException((messages.channels.error_loading_channel_s % channel_name))
    self.session = session
    self.channel_loaded = channel_object(self.session['url'], self.session['password'])
    self.channel_name = channel_name
