added cmd for generating apidoc
rename: toTable -> toPathTable
improve: export, runners, menus etc