Create application structure and initial settings.