Added availability to the layout
Added availability field to Download
Availability is now updated dynamically
Fixed tests and removed unused imports