PiCo: a Novel Approach to Stream Data Analytics