basic class Node, Network are implemented