renamed master.py; added int_to_ip()/ip_to_int()