Refactored the AMQPConnection and AMQPMessage into a factory
and added Unittests for it :)