Update LegatusState.java

Moved Commander instances to state and moved getCommander method fully into state.