added MQ wrapper and created temporary in-memory queue