Created a class to handle sequences of poses