simplify sink_into_lua
move sink_into_lua into a header
move sink_from_lua into a header