SpotRateCurve moved to vector with attributes instead of a list