Most (maybe all) of the /NS urls are implemented in tcl ($NS_HOME/modules/tcl), the /NS/Db ones are in $NS_HOME/modules/tcl/nsdb). Depenending on your pain threshold, you could port those to aolserver 3 land. (and maybe contribute them back to the aolserver folks, or give 'em to the open acs folks) since there are some useful utilites in there (and some big security holes if you're not careful)