rewrite two logic: 1) add lookup dict for mapping commands with searched keys 2) add break at parser logic then we find all what we looked for