set up app's framework