huge refactoring of timeseries API and creation of adapter classes,
converters and output classes