Global switched to Singleton, Removed ALLOW_ACCESS macro, Lua class function renaming