Apply suggestions from golint
Adds ability for HOST and PORT env vars to overide config file