refactoring ooo.lua, and adjusting meta_rob.lua