Export calculateTime from stats
Refactor code
Total time is calculated after day has finished
Add script to migrate old data
Create mapreduce view for minutes by month