Create state.py