refactored some old code, and started making load balancing class using openflow