Changed Exchange to be a case class instead of trait