Initial code for animations.