Config route, returns config and media gen. WIP.