move base currency handling to model