first version of time series classification example
added feature detection