Added classes and methods for Timeseries and Events