Added application flow

Setup application flow