Use env vars to config host and key
Slight change to not allocate unnecessarily

Getting educated by @jpfuentes2
Merge pull request #5 from danielfarrell/env-var-config

Env var configuration