initialize the app