Factory takes an IP address in its constructor