Code refactor and cleanup

Made CDN object/resource/import/export/curator
Added container class for return of Subscription Cert and CDN
Fixed tests to match