A NoSQL database in a Lua script