Command Pattern: add message queue

queue is dictionary