implemting save and load on team and inventory