Init application.