End-Work Commit

Added state functionality.