Data summarizing seems to be working

switch to named tuple for data, nested dicts is stupid