Refactor ovs_lib flow managment