Move node declarations to their own header files.

Fixes #239

I've moved the node declarations to their own header files. This makes it a
litte more organized.