converted Translator to class and calling eval within