System stats model
Add calcStatsForDateRange for system
Add handler for system stats
Refactor