Started writing node class