Here's what I have so far... It creates global table called "mod", but I can't seem to add indexes to the table...
lua_newtable(L); lua_setglobal(L,"mod");