Added the ability to take a hoststring in the configfile; as well as moved configfile to example to avoid conflicts or accidental commiting of connection details