cleaned up ebnf; wrote rough draft of node classes