 
   load: (moduleName, module) ->
     {config, services} = module
-    moduleName = module.name
 
     for serviceName, options of config
       serviceChannel = "#{moduleName}.#{serviceName}"

      data: data
      topic: topic


  listen: (channel, handler) ->
    # just listen
    sub = bus.subscribe
      channel: channel
      topic: '#'
      callback: handler


  signal: (channel, data) ->
    # for sending interrupts

      topic: 'request.#'
      callback: callback

  # just send the message
  send: (channel, data) ->
    topicId = uuid.v1()
    topic = topicId
    pub = bus.publish
