Factorize states vars and check_running
Factorize AMQP checks
Factorize usage