[added] Singleton::setSingletonInstance
[added] Lua::createFunction