introduces adding Flow to window.flow and  the session and the answer of the active controller