Implemented the saving of packages and versions