constructor and one method to find a node by a given id