changed list in applicationRepository for applications to use the class Applications, and changed associated calling methods to expect Applications as return type