Making animations easier to wrangle by adding getAnimationByIndices, optimized animtaions