remove Lua 5.1 support and local class support