graph TD
A[Input Data & WAV Files] --> B[PACKAGEAGENT]
B --> C[SILO 1: Metadata Generation]
B --> D[SILO 2: File Organization]
B --> E[SILO 3: Archive Creation]
C --> F[Process Input Data]
F --> G[Create metadata.json]
D --> H[Create Folder Structure]
H --> I[Rename WAV Files]
I --> J[Sort Files to Folders]
E --> K[Collect Organized Files]
G --> K
J --> K
K --> L[Create ZIP Archive]
L --> M[Return ZIP URL]
subgraph Input Requirements
N[WAV Files] --> A
O[YouTube URL] --> A
P[BPM Data] --> A
Q[Timestamps] --> A
R[Beat Lengths] --> A
end
subgraph File Naming Schema
I --> S[timestamp_type_beats_number.wav]
end