Implemented a new function for analyseApplication. 

This function uses the new ProjectDTO instead of the string array and string as variables.