Make API host configurable