Move timeseries functions to timeseries_handler

in 1 minute and 36 seconds, using 0 compute credits, and was queued for 1 minute and 46 seconds