Add noid-tool command
Rework noid-tool command; add generate option