Changed translator to be a class and added way to get hold of a translator without knowing the full class name
Changed UI to use core method to obtain translator