improving file base library building support
adding helpful comments
small cleanup of volknnglobalsearch