Create CommandState.java