Add documentation to Node.pm and an idGen method