CLI support.

Added queue factory, queue state listener, distinct applet/CLI event workers. [closes #5]