add ActivitySummary struct and insertion operator