renamed Queue class to Comand