Refactored the user class (made a proper class), added a lua_world_reset method.