set up starting the app etc