Implemented inventory including saving and loading.