First pass node reference builder, plus styling improvements

Improvements required, but first pass addresses and closes #127