modularize and generalize averages, now split between adjust timestamp, and monthly means with common functions are variables stored in share.py