Add main() to rest.py, command line help, command like arguments to specify different IP and port.