Add /query command (closes #26)