init finish  state change apis;
npm initialize;