small code refactor for Application.ts
small code refactor for Application.ts

SamuelMarks/typeframework,zekelevu/typeframework,zekelevu/typeframework,SamuelMarks/typeframework,tsframework/ts-framework,3IE/typeframework,SamuelMarks/typeframework,3IE/typeframework,3IE/typeframework