refactor of save, loading and equipment