Adds the application.