Create state.java