First revision of Lua dataminer (WIP)