Extract loading of animations into its own class