improve function index. not hardcoding, but abstract function names from perlfunc.
add new path /variable/varname.