Simplified code for EditDistanceEDA with Redis resource

and changed private to protected attributes and methods in EditDistanceEDA and FixedWeightEditDistance for inheritance purposes.