add structs pathTable & routeTable, init pathTable