Create a CodeFormatter Class. Use it in ScoreCardTranslator.
Use CodeFormatter on TreeModelTranslator.