add NewApplication method