Add C style Id and Distance for webworkers
Add the routing table creation