[mod] add Path class to handle path to node