Implemented loadbalancing algorithms