Got it to go through cloudflare
Refactoring for configurability
Basic example working