add qlist, qclear, qfix commands, redesign queue