The main() method of the application.