Added CreateStateCommand