Change python initialization
Overwork levenshtein sample and provide python access