Framework with a router based on Levenshtein distance