A more flexible animation system

@midgunner66 Thanks, I’ll give renaming a shot.