added state machines to AnimatableEntity