Added '_xor' key requirement; Updated README; Refactored tests and implementation to group interval states together for easier transitions.