added template support to class RoutingTableWatcher