add RotationActions to State implementation.
refactor trident state implementation and add support for sequence files.