Beginning of NodeRepository