additional improvements: ServerDefinedFlowCommand: start toward being able to call any api call without creating special flow.

code clean up.