Save also the <metadata> for the <media>.
Add link.
Fix url construction.
First implementation of fragments recomposition.