sets up app and minimal routing