refactored SimSparta (into a fake Lua class) and example