Router class

I made a Router class, but need to implement a load-balancing algorithm.