Move flow to own file
Move from flow to connect