New class structure for animations