Refactoring the app to add arduino helpers for other functions
Adding patterns for overall and stats