add history briq to start storing most recent data in Redis

uses 1-day "slots", idea is to clear them out and store them in files
or a persistent db once older than a day - this way server restarts
during development can still be used
improved history data structures