Added test directory... now to add the tests!
Added amqp api code.