Added comments, created node class