Set up animation class