move cli code to a subfolder
send IPv4 address instead of domain name