* Application class and application logic.