Added code documentation on AppInit.cpp