starting app and initial settings