Added LuaLib to provide AI specific Lua functions.