Creating a general LuaWrapping class