move rabbitmq connection into config