State Management, State Machines, and State Diagrams