Added ND infrastructure for documentation.
Closed issue #37.
Resolved merge conflicts.