Starts the application.