Refactor routes
Remove extraneous code from flow_display view
Refactor views to refer to flows