Fixed privacy issues, added UUID generation and added a getter for
AnimationState.