Remove CommandFactory and NsInit interface Upstream-commit: fe4a25546a434eb0299bdc7f61a3cfcc3752fb33 Component: engine