Added more levels (a lot need revising)
Removed the groups from flows(no longer needed)
Flow types are set automatically now