add serving of media files during debug mode (close #4)