Add replay logic with real time + possibility to modify replay speed