add function for getting actions based on normalised time
add start function to play the animation of the routine