item library saving and loading to cfg