Create SubState.java