first (ugly?) prototype of Lua bindings