Luaified it.

- Learned some more syntactical sugar for lua.