make amqp an optional dependency
autoconfigure mysql databases