get rid of IDF_FREE, use clear_command to free the allocated storages, remove the destructor and use proper pinning of allocated variable names in the lua GC