Got rid of the app flow

It's just far too complicated, instead keeping it simple is best. I'll
remove the app flow code from the reference client soon