further fleshing out first pass -- added cloudflare api calls