API update

Skeleton of the representation of the timeseries and of basic functions