Add media URL setup

Fix #7