updated template: init PSNative & PSNetwork  in main activity