updated the copyright notice.
refactor: avoided using Lua's module() function for defining our Lua modules because it has bad side effects.
optimize: eliminated table.insert() because it is slower than "tb[#tb + 1] = val".