first version: basic implementation of presence regrouping + timeline update + R python code to generate events + R to plot timelines