Build registry on start
Fix api_url env var
Add decoding of elixir media