Updated routers to be multithreaded