added startup callback for cli to trace startup state changes in cli
Merge commit '56ba27ce8026347b3b0ff22e7cc90c96273c04d1' into Master
merge