OpenExchangeRates implemented in scala