Main Node class