setting up the app