add createNewApplication method new shutdown protocol.