Initialize application.