remove stdCaller and stdLib
add stdCapture and publish some functions
simplify _libfunc
add a test