moddified exchange_rates model for scalability and the deflator code to work with it.