Refactoring and using StringTemplate