Generate CurrencyConverter with code generator