Class CreateInitialStateAndExecuteCommand<T>