HTTPS=false envvar to disable https
Basic scaffolding code for gservice
Refactor into package, in anticipation of creating models