Adding addFlow method to Manager
Adding addFlow logic