Lua mode - initial commit