Small refactoring of interface
Add getAllFromDate and getLastXDays