changes way to start the app and relies more on Flow