Added timeseries lib to maintain and efficiently retrieve values