Refactoring of load balancer
Merge from branch experiment