Began adding Lua

A few functions now work.