working version of the mods tool, need to add serialization