gen_ns_mod: generate classes uri
update doc
update test programs; add testtools target
update doc