calling app initialize method