Pre step 1: instantiating the app