Finished document AMQP definition and channel services
Fixed debug code