Started work on totals aggregation using java 8 streams. (Check RxJava if it can handle 1.6 maybe use that instead)