initializing the app