Converted outgoing lists to Queues. Closed #19

added a check for command execution as well