Implemented the animation loader