Separated EditDistance Class from Console App