cpp: adding more methods to script protocols
cpp: fix LuaOutputProtocol + list bug
cpp: simplify LuaOutputProtocol list
lua: refining index.lua