Restructured all the tables. Optimized a bunch of the totals queries in the views.