Lots of refactoring

- Refactored stat generation
- Made Redbull and Pizza come from database
- Fixed issues with total calculations
Fixed incorrect variable for timestamp