Lua bindings and layers for FoundationDB