Lots of moving code around. Moved most of the data processing code into pipeline, so it's in one place.added a little to totals, moved stuff aorun between there and util