Add media directory
Refactor routes