CDN: Initial implementation

For review/testing by @gseguin.

Still needs a guard for test runs.