Added AMQP handler and refactored the other two handlers into their own files.