make api host configurable
Merge pull request #10 from EiNSTeiN-/configurable-host

Make api host configurable