Added some comments for the animation class