Move amqp exchange type to separate class and rename 'header' to 'headers'