register UI::Layer to Lua