started work on the Lua API docs