Fleshed out code for the Animation class and the data it relies on.