big refactoring to create a round robin load balancer application, still untested