externalise Router Class

add route to _media.json