added lua-wrapper with c