Refactored the code.  IP addresses are now read in from the command line.  Updated the README.md