added router, structured adding of media