remove unused code
use lua_array
fix typo
cleanup
extra table for tagging support