New file: skelfactory_lua.cpp