Added necessary javadocs in the animation pkg