made host, port and path configurable
Merge pull request #1 from SpruceHillio/master

made host, port and path configurable