Updated the application class and fixed some spelling errors.