hierarchical parsing implemented
Fixed doc generation